﻿using System;

namespace Sharp.Portal.Other
{
    /// <summary>
    /// 模块特性
    /// </summary>
    [Flags]
    public enum ListFeature
    {
        /// <summary>
        /// 什么也没有
        /// </summary>
        None = 0,
        /// <summary>
        /// 隐藏 ToolButton
        /// </summary>
        HiddenToolButton = 1,
        /// <summary>
        /// 分组
        /// </summary>
        Group = 2,
        /// <summary>
        /// 分页
        /// </summary>
        Paging = 4,
        /// <summary>
        /// 滑动分页
        /// </summary>
        SlidingPaging = 8,
        /// <summary>
        /// 多字段排序
        /// </summary>
        MultiSorting = 16,
        /// <summary>
        /// 多行选择
        /// </summary>
        MultiSelect = 32,
        /// <summary>
        /// 禁止 Grid 斑马线/间隔行底色差别
        /// </summary>
        StripeRowsDisable = 64,
        /// <summary>
        /// 行号
        /// </summary>
        RowNumber = 128,
        /// <summary>
        /// 禁止网格线
        /// </summary>
        GridLineDisable = 256,
        /// <summary>
        /// 服务器聚合
        /// </summary>
        ServerAggregated = 512,
        /// <summary>
        /// 不含日志
        /// </summary>
        NoLog = 1024,
        /// <summary>
        /// 右侧预览面板
        /// </summary>
        ItemPanel = 2048
    }
}
